find_package(Boost COMPONENTS unit_test_framework REQUIRED)
include_directories(include ${Boost_INCLUDE_DIRS}/boost)
add_definitions(-DBOOST_TEST_DYN_LINK -g)
add_executable(Test test.cpp)
target_link_libraries(Test square ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
